package com.gywj.race.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EventInformationExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int pageNum = -1;

    protected int pageSize = -1;

    public EventInformationExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public EventInformationExample setPageNum(int pageNum) {
        this.pageNum=pageNum;
        return (EventInformationExample) this;
    }

    public int getPageNum() {
        return pageNum;
    }

    public EventInformationExample setPageSize(int pageSize) {
        this.pageSize=pageSize;
        return (EventInformationExample) this;
    }

    public int getPageSize() {
        return pageSize;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andIntroductionIsNull() {
            addCriterion("introduction is null");
            return (Criteria) this;
        }

        public Criteria andIntroductionIsNotNull() {
            addCriterion("introduction is not null");
            return (Criteria) this;
        }

        public Criteria andIntroductionEqualTo(String value) {
            addCriterion("introduction =", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionNotEqualTo(String value) {
            addCriterion("introduction <>", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionGreaterThan(String value) {
            addCriterion("introduction >", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionGreaterThanOrEqualTo(String value) {
            addCriterion("introduction >=", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionLessThan(String value) {
            addCriterion("introduction <", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionLessThanOrEqualTo(String value) {
            addCriterion("introduction <=", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionLike(String value) {
            addCriterion("introduction like", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionNotLike(String value) {
            addCriterion("introduction not like", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionIn(List<String> values) {
            addCriterion("introduction in", values, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionNotIn(List<String> values) {
            addCriterion("introduction not in", values, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionBetween(String value1, String value2) {
            addCriterion("introduction between", value1, value2, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionNotBetween(String value1, String value2) {
            addCriterion("introduction not between", value1, value2, "introduction");
            return (Criteria) this;
        }

        public Criteria andPlaceIsNull() {
            addCriterion("place is null");
            return (Criteria) this;
        }

        public Criteria andPlaceIsNotNull() {
            addCriterion("place is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceEqualTo(String value) {
            addCriterion("place =", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceNotEqualTo(String value) {
            addCriterion("place <>", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceGreaterThan(String value) {
            addCriterion("place >", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceGreaterThanOrEqualTo(String value) {
            addCriterion("place >=", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceLessThan(String value) {
            addCriterion("place <", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceLessThanOrEqualTo(String value) {
            addCriterion("place <=", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceLike(String value) {
            addCriterion("place like", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceNotLike(String value) {
            addCriterion("place not like", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceIn(List<String> values) {
            addCriterion("place in", values, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceNotIn(List<String> values) {
            addCriterion("place not in", values, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceBetween(String value1, String value2) {
            addCriterion("place between", value1, value2, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceNotBetween(String value1, String value2) {
            addCriterion("place not between", value1, value2, "place");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdIsNull() {
            addCriterion("organizer_id is null");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdIsNotNull() {
            addCriterion("organizer_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdEqualTo(Integer value) {
            addCriterion("organizer_id =", value, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdNotEqualTo(Integer value) {
            addCriterion("organizer_id <>", value, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdGreaterThan(Integer value) {
            addCriterion("organizer_id >", value, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("organizer_id >=", value, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdLessThan(Integer value) {
            addCriterion("organizer_id <", value, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdLessThanOrEqualTo(Integer value) {
            addCriterion("organizer_id <=", value, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdIn(List<Integer> values) {
            addCriterion("organizer_id in", values, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdNotIn(List<Integer> values) {
            addCriterion("organizer_id not in", values, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdBetween(Integer value1, Integer value2) {
            addCriterion("organizer_id between", value1, value2, "organizerId");
            return (Criteria) this;
        }

        public Criteria andOrganizerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("organizer_id not between", value1, value2, "organizerId");
            return (Criteria) this;
        }

        public Criteria andHostIsNull() {
            addCriterion("host is null");
            return (Criteria) this;
        }

        public Criteria andHostIsNotNull() {
            addCriterion("host is not null");
            return (Criteria) this;
        }

        public Criteria andHostEqualTo(String value) {
            addCriterion("host =", value, "host");
            return (Criteria) this;
        }

        public Criteria andHostNotEqualTo(String value) {
            addCriterion("host <>", value, "host");
            return (Criteria) this;
        }

        public Criteria andHostGreaterThan(String value) {
            addCriterion("host >", value, "host");
            return (Criteria) this;
        }

        public Criteria andHostGreaterThanOrEqualTo(String value) {
            addCriterion("host >=", value, "host");
            return (Criteria) this;
        }

        public Criteria andHostLessThan(String value) {
            addCriterion("host <", value, "host");
            return (Criteria) this;
        }

        public Criteria andHostLessThanOrEqualTo(String value) {
            addCriterion("host <=", value, "host");
            return (Criteria) this;
        }

        public Criteria andHostLike(String value) {
            addCriterion("host like", value, "host");
            return (Criteria) this;
        }

        public Criteria andHostNotLike(String value) {
            addCriterion("host not like", value, "host");
            return (Criteria) this;
        }

        public Criteria andHostIn(List<String> values) {
            addCriterion("host in", values, "host");
            return (Criteria) this;
        }

        public Criteria andHostNotIn(List<String> values) {
            addCriterion("host not in", values, "host");
            return (Criteria) this;
        }

        public Criteria andHostBetween(String value1, String value2) {
            addCriterion("host between", value1, value2, "host");
            return (Criteria) this;
        }

        public Criteria andHostNotBetween(String value1, String value2) {
            addCriterion("host not between", value1, value2, "host");
            return (Criteria) this;
        }

        public Criteria andGuideIsNull() {
            addCriterion("guide is null");
            return (Criteria) this;
        }

        public Criteria andGuideIsNotNull() {
            addCriterion("guide is not null");
            return (Criteria) this;
        }

        public Criteria andGuideEqualTo(String value) {
            addCriterion("guide =", value, "guide");
            return (Criteria) this;
        }

        public Criteria andGuideNotEqualTo(String value) {
            addCriterion("guide <>", value, "guide");
            return (Criteria) this;
        }

        public Criteria andGuideGreaterThan(String value) {
            addCriterion("guide >", value, "guide");
            return (Criteria) this;
        }

        public Criteria andGuideGreaterThanOrEqualTo(String value) {
            addCriterion("guide >=", value, "guide");
            return (Criteria) this;
        }

        public Criteria andGuideLessThan(String value) {
            addCriterion("guide <", value, "guide");
            return (Criteria) this;
        }

        public Criteria andGuideLessThanOrEqualTo(String value) {
            addCriterion("guide <=", value, "guide");
            return (Criteria) this;
        }

        public Criteria andGuideLike(String value) {
            addCriterion("guide like", value, "guide");
            return (Criteria) this;
        }

        public Criteria andGuideNotLike(String value) {
            addCriterion("guide not like", value, "guide");
            return (Criteria) this;
        }

        public Criteria andGuideIn(List<String> values) {
            addCriterion("guide in", values, "guide");
            return (Criteria) this;
        }

        public Criteria andGuideNotIn(List<String> values) {
            addCriterion("guide not in", values, "guide");
            return (Criteria) this;
        }

        public Criteria andGuideBetween(String value1, String value2) {
            addCriterion("guide between", value1, value2, "guide");
            return (Criteria) this;
        }

        public Criteria andGuideNotBetween(String value1, String value2) {
            addCriterion("guide not between", value1, value2, "guide");
            return (Criteria) this;
        }

        public Criteria andExecutiveIsNull() {
            addCriterion("executive is null");
            return (Criteria) this;
        }

        public Criteria andExecutiveIsNotNull() {
            addCriterion("executive is not null");
            return (Criteria) this;
        }

        public Criteria andExecutiveEqualTo(String value) {
            addCriterion("executive =", value, "executive");
            return (Criteria) this;
        }

        public Criteria andExecutiveNotEqualTo(String value) {
            addCriterion("executive <>", value, "executive");
            return (Criteria) this;
        }

        public Criteria andExecutiveGreaterThan(String value) {
            addCriterion("executive >", value, "executive");
            return (Criteria) this;
        }

        public Criteria andExecutiveGreaterThanOrEqualTo(String value) {
            addCriterion("executive >=", value, "executive");
            return (Criteria) this;
        }

        public Criteria andExecutiveLessThan(String value) {
            addCriterion("executive <", value, "executive");
            return (Criteria) this;
        }

        public Criteria andExecutiveLessThanOrEqualTo(String value) {
            addCriterion("executive <=", value, "executive");
            return (Criteria) this;
        }

        public Criteria andExecutiveLike(String value) {
            addCriterion("executive like", value, "executive");
            return (Criteria) this;
        }

        public Criteria andExecutiveNotLike(String value) {
            addCriterion("executive not like", value, "executive");
            return (Criteria) this;
        }

        public Criteria andExecutiveIn(List<String> values) {
            addCriterion("executive in", values, "executive");
            return (Criteria) this;
        }

        public Criteria andExecutiveNotIn(List<String> values) {
            addCriterion("executive not in", values, "executive");
            return (Criteria) this;
        }

        public Criteria andExecutiveBetween(String value1, String value2) {
            addCriterion("executive between", value1, value2, "executive");
            return (Criteria) this;
        }

        public Criteria andExecutiveNotBetween(String value1, String value2) {
            addCriterion("executive not between", value1, value2, "executive");
            return (Criteria) this;
        }

        public Criteria andSponsorIsNull() {
            addCriterion("sponsor is null");
            return (Criteria) this;
        }

        public Criteria andSponsorIsNotNull() {
            addCriterion("sponsor is not null");
            return (Criteria) this;
        }

        public Criteria andSponsorEqualTo(String value) {
            addCriterion("sponsor =", value, "sponsor");
            return (Criteria) this;
        }

        public Criteria andSponsorNotEqualTo(String value) {
            addCriterion("sponsor <>", value, "sponsor");
            return (Criteria) this;
        }

        public Criteria andSponsorGreaterThan(String value) {
            addCriterion("sponsor >", value, "sponsor");
            return (Criteria) this;
        }

        public Criteria andSponsorGreaterThanOrEqualTo(String value) {
            addCriterion("sponsor >=", value, "sponsor");
            return (Criteria) this;
        }

        public Criteria andSponsorLessThan(String value) {
            addCriterion("sponsor <", value, "sponsor");
            return (Criteria) this;
        }

        public Criteria andSponsorLessThanOrEqualTo(String value) {
            addCriterion("sponsor <=", value, "sponsor");
            return (Criteria) this;
        }

        public Criteria andSponsorLike(String value) {
            addCriterion("sponsor like", value, "sponsor");
            return (Criteria) this;
        }

        public Criteria andSponsorNotLike(String value) {
            addCriterion("sponsor not like", value, "sponsor");
            return (Criteria) this;
        }

        public Criteria andSponsorIn(List<String> values) {
            addCriterion("sponsor in", values, "sponsor");
            return (Criteria) this;
        }

        public Criteria andSponsorNotIn(List<String> values) {
            addCriterion("sponsor not in", values, "sponsor");
            return (Criteria) this;
        }

        public Criteria andSponsorBetween(String value1, String value2) {
            addCriterion("sponsor between", value1, value2, "sponsor");
            return (Criteria) this;
        }

        public Criteria andSponsorNotBetween(String value1, String value2) {
            addCriterion("sponsor not between", value1, value2, "sponsor");
            return (Criteria) this;
        }

        public Criteria andRaceBeginTimeIsNull() {
            addCriterion("race_begin_time is null");
            return (Criteria) this;
        }

        public Criteria andRaceBeginTimeIsNotNull() {
            addCriterion("race_begin_time is not null");
            return (Criteria) this;
        }

        public Criteria andRaceBeginTimeEqualTo(Date value) {
            addCriterion("race_begin_time =", value, "raceBeginTime");
            return (Criteria) this;
        }

        public Criteria andRaceBeginTimeNotEqualTo(Date value) {
            addCriterion("race_begin_time <>", value, "raceBeginTime");
            return (Criteria) this;
        }

        public Criteria andRaceBeginTimeGreaterThan(Date value) {
            addCriterion("race_begin_time >", value, "raceBeginTime");
            return (Criteria) this;
        }

        public Criteria andRaceBeginTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("race_begin_time >=", value, "raceBeginTime");
            return (Criteria) this;
        }

        public Criteria andRaceBeginTimeLessThan(Date value) {
            addCriterion("race_begin_time <", value, "raceBeginTime");
            return (Criteria) this;
        }

        public Criteria andRaceBeginTimeLessThanOrEqualTo(Date value) {
            addCriterion("race_begin_time <=", value, "raceBeginTime");
            return (Criteria) this;
        }

        public Criteria andRaceBeginTimeIn(List<Date> values) {
            addCriterion("race_begin_time in", values, "raceBeginTime");
            return (Criteria) this;
        }

        public Criteria andRaceBeginTimeNotIn(List<Date> values) {
            addCriterion("race_begin_time not in", values, "raceBeginTime");
            return (Criteria) this;
        }

        public Criteria andRaceBeginTimeBetween(Date value1, Date value2) {
            addCriterion("race_begin_time between", value1, value2, "raceBeginTime");
            return (Criteria) this;
        }

        public Criteria andRaceBeginTimeNotBetween(Date value1, Date value2) {
            addCriterion("race_begin_time not between", value1, value2, "raceBeginTime");
            return (Criteria) this;
        }

        public Criteria andRaceEndTimeIsNull() {
            addCriterion("race_end_time is null");
            return (Criteria) this;
        }

        public Criteria andRaceEndTimeIsNotNull() {
            addCriterion("race_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andRaceEndTimeEqualTo(Date value) {
            addCriterion("race_end_time =", value, "raceEndTime");
            return (Criteria) this;
        }

        public Criteria andRaceEndTimeNotEqualTo(Date value) {
            addCriterion("race_end_time <>", value, "raceEndTime");
            return (Criteria) this;
        }

        public Criteria andRaceEndTimeGreaterThan(Date value) {
            addCriterion("race_end_time >", value, "raceEndTime");
            return (Criteria) this;
        }

        public Criteria andRaceEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("race_end_time >=", value, "raceEndTime");
            return (Criteria) this;
        }

        public Criteria andRaceEndTimeLessThan(Date value) {
            addCriterion("race_end_time <", value, "raceEndTime");
            return (Criteria) this;
        }

        public Criteria andRaceEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("race_end_time <=", value, "raceEndTime");
            return (Criteria) this;
        }

        public Criteria andRaceEndTimeIn(List<Date> values) {
            addCriterion("race_end_time in", values, "raceEndTime");
            return (Criteria) this;
        }

        public Criteria andRaceEndTimeNotIn(List<Date> values) {
            addCriterion("race_end_time not in", values, "raceEndTime");
            return (Criteria) this;
        }

        public Criteria andRaceEndTimeBetween(Date value1, Date value2) {
            addCriterion("race_end_time between", value1, value2, "raceEndTime");
            return (Criteria) this;
        }

        public Criteria andRaceEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("race_end_time not between", value1, value2, "raceEndTime");
            return (Criteria) this;
        }

        public Criteria andPartBeginTimeIsNull() {
            addCriterion("part_begin_time is null");
            return (Criteria) this;
        }

        public Criteria andPartBeginTimeIsNotNull() {
            addCriterion("part_begin_time is not null");
            return (Criteria) this;
        }

        public Criteria andPartBeginTimeEqualTo(Date value) {
            addCriterion("part_begin_time =", value, "partBeginTime");
            return (Criteria) this;
        }

        public Criteria andPartBeginTimeNotEqualTo(Date value) {
            addCriterion("part_begin_time <>", value, "partBeginTime");
            return (Criteria) this;
        }

        public Criteria andPartBeginTimeGreaterThan(Date value) {
            addCriterion("part_begin_time >", value, "partBeginTime");
            return (Criteria) this;
        }

        public Criteria andPartBeginTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("part_begin_time >=", value, "partBeginTime");
            return (Criteria) this;
        }

        public Criteria andPartBeginTimeLessThan(Date value) {
            addCriterion("part_begin_time <", value, "partBeginTime");
            return (Criteria) this;
        }

        public Criteria andPartBeginTimeLessThanOrEqualTo(Date value) {
            addCriterion("part_begin_time <=", value, "partBeginTime");
            return (Criteria) this;
        }

        public Criteria andPartBeginTimeIn(List<Date> values) {
            addCriterion("part_begin_time in", values, "partBeginTime");
            return (Criteria) this;
        }

        public Criteria andPartBeginTimeNotIn(List<Date> values) {
            addCriterion("part_begin_time not in", values, "partBeginTime");
            return (Criteria) this;
        }

        public Criteria andPartBeginTimeBetween(Date value1, Date value2) {
            addCriterion("part_begin_time between", value1, value2, "partBeginTime");
            return (Criteria) this;
        }

        public Criteria andPartBeginTimeNotBetween(Date value1, Date value2) {
            addCriterion("part_begin_time not between", value1, value2, "partBeginTime");
            return (Criteria) this;
        }

        public Criteria andPartEndTimeIsNull() {
            addCriterion("part_end_time is null");
            return (Criteria) this;
        }

        public Criteria andPartEndTimeIsNotNull() {
            addCriterion("part_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andPartEndTimeEqualTo(Date value) {
            addCriterion("part_end_time =", value, "partEndTime");
            return (Criteria) this;
        }

        public Criteria andPartEndTimeNotEqualTo(Date value) {
            addCriterion("part_end_time <>", value, "partEndTime");
            return (Criteria) this;
        }

        public Criteria andPartEndTimeGreaterThan(Date value) {
            addCriterion("part_end_time >", value, "partEndTime");
            return (Criteria) this;
        }

        public Criteria andPartEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("part_end_time >=", value, "partEndTime");
            return (Criteria) this;
        }

        public Criteria andPartEndTimeLessThan(Date value) {
            addCriterion("part_end_time <", value, "partEndTime");
            return (Criteria) this;
        }

        public Criteria andPartEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("part_end_time <=", value, "partEndTime");
            return (Criteria) this;
        }

        public Criteria andPartEndTimeIn(List<Date> values) {
            addCriterion("part_end_time in", values, "partEndTime");
            return (Criteria) this;
        }

        public Criteria andPartEndTimeNotIn(List<Date> values) {
            addCriterion("part_end_time not in", values, "partEndTime");
            return (Criteria) this;
        }

        public Criteria andPartEndTimeBetween(Date value1, Date value2) {
            addCriterion("part_end_time between", value1, value2, "partEndTime");
            return (Criteria) this;
        }

        public Criteria andPartEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("part_end_time not between", value1, value2, "partEndTime");
            return (Criteria) this;
        }

        public Criteria andEventRelationPersonIsNull() {
            addCriterion("event_relation_person is null");
            return (Criteria) this;
        }

        public Criteria andEventRelationPersonIsNotNull() {
            addCriterion("event_relation_person is not null");
            return (Criteria) this;
        }

        public Criteria andEventRelationPersonEqualTo(String value) {
            addCriterion("event_relation_person =", value, "eventRelationPerson");
            return (Criteria) this;
        }

        public Criteria andEventRelationPersonNotEqualTo(String value) {
            addCriterion("event_relation_person <>", value, "eventRelationPerson");
            return (Criteria) this;
        }

        public Criteria andEventRelationPersonGreaterThan(String value) {
            addCriterion("event_relation_person >", value, "eventRelationPerson");
            return (Criteria) this;
        }

        public Criteria andEventRelationPersonGreaterThanOrEqualTo(String value) {
            addCriterion("event_relation_person >=", value, "eventRelationPerson");
            return (Criteria) this;
        }

        public Criteria andEventRelationPersonLessThan(String value) {
            addCriterion("event_relation_person <", value, "eventRelationPerson");
            return (Criteria) this;
        }

        public Criteria andEventRelationPersonLessThanOrEqualTo(String value) {
            addCriterion("event_relation_person <=", value, "eventRelationPerson");
            return (Criteria) this;
        }

        public Criteria andEventRelationPersonLike(String value) {
            addCriterion("event_relation_person like", value, "eventRelationPerson");
            return (Criteria) this;
        }

        public Criteria andEventRelationPersonNotLike(String value) {
            addCriterion("event_relation_person not like", value, "eventRelationPerson");
            return (Criteria) this;
        }

        public Criteria andEventRelationPersonIn(List<String> values) {
            addCriterion("event_relation_person in", values, "eventRelationPerson");
            return (Criteria) this;
        }

        public Criteria andEventRelationPersonNotIn(List<String> values) {
            addCriterion("event_relation_person not in", values, "eventRelationPerson");
            return (Criteria) this;
        }

        public Criteria andEventRelationPersonBetween(String value1, String value2) {
            addCriterion("event_relation_person between", value1, value2, "eventRelationPerson");
            return (Criteria) this;
        }

        public Criteria andEventRelationPersonNotBetween(String value1, String value2) {
            addCriterion("event_relation_person not between", value1, value2, "eventRelationPerson");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andTargetIsNull() {
            addCriterion("target is null");
            return (Criteria) this;
        }

        public Criteria andTargetIsNotNull() {
            addCriterion("target is not null");
            return (Criteria) this;
        }

        public Criteria andTargetEqualTo(String value) {
            addCriterion("target =", value, "target");
            return (Criteria) this;
        }

        public Criteria andTargetNotEqualTo(String value) {
            addCriterion("target <>", value, "target");
            return (Criteria) this;
        }

        public Criteria andTargetGreaterThan(String value) {
            addCriterion("target >", value, "target");
            return (Criteria) this;
        }

        public Criteria andTargetGreaterThanOrEqualTo(String value) {
            addCriterion("target >=", value, "target");
            return (Criteria) this;
        }

        public Criteria andTargetLessThan(String value) {
            addCriterion("target <", value, "target");
            return (Criteria) this;
        }

        public Criteria andTargetLessThanOrEqualTo(String value) {
            addCriterion("target <=", value, "target");
            return (Criteria) this;
        }

        public Criteria andTargetLike(String value) {
            addCriterion("target like", value, "target");
            return (Criteria) this;
        }

        public Criteria andTargetNotLike(String value) {
            addCriterion("target not like", value, "target");
            return (Criteria) this;
        }

        public Criteria andTargetIn(List<String> values) {
            addCriterion("target in", values, "target");
            return (Criteria) this;
        }

        public Criteria andTargetNotIn(List<String> values) {
            addCriterion("target not in", values, "target");
            return (Criteria) this;
        }

        public Criteria andTargetBetween(String value1, String value2) {
            addCriterion("target between", value1, value2, "target");
            return (Criteria) this;
        }

        public Criteria andTargetNotBetween(String value1, String value2) {
            addCriterion("target not between", value1, value2, "target");
            return (Criteria) this;
        }

        public Criteria andViewCountIsNull() {
            addCriterion("view_count is null");
            return (Criteria) this;
        }

        public Criteria andViewCountIsNotNull() {
            addCriterion("view_count is not null");
            return (Criteria) this;
        }

        public Criteria andViewCountEqualTo(Integer value) {
            addCriterion("view_count =", value, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountNotEqualTo(Integer value) {
            addCriterion("view_count <>", value, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountGreaterThan(Integer value) {
            addCriterion("view_count >", value, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("view_count >=", value, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountLessThan(Integer value) {
            addCriterion("view_count <", value, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountLessThanOrEqualTo(Integer value) {
            addCriterion("view_count <=", value, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountIn(List<Integer> values) {
            addCriterion("view_count in", values, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountNotIn(List<Integer> values) {
            addCriterion("view_count not in", values, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountBetween(Integer value1, Integer value2) {
            addCriterion("view_count between", value1, value2, "viewCount");
            return (Criteria) this;
        }

        public Criteria andViewCountNotBetween(Integer value1, Integer value2) {
            addCriterion("view_count not between", value1, value2, "viewCount");
            return (Criteria) this;
        }

        public Criteria andShareCountIsNull() {
            addCriterion("share_count is null");
            return (Criteria) this;
        }

        public Criteria andShareCountIsNotNull() {
            addCriterion("share_count is not null");
            return (Criteria) this;
        }

        public Criteria andShareCountEqualTo(Integer value) {
            addCriterion("share_count =", value, "shareCount");
            return (Criteria) this;
        }

        public Criteria andShareCountNotEqualTo(Integer value) {
            addCriterion("share_count <>", value, "shareCount");
            return (Criteria) this;
        }

        public Criteria andShareCountGreaterThan(Integer value) {
            addCriterion("share_count >", value, "shareCount");
            return (Criteria) this;
        }

        public Criteria andShareCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("share_count >=", value, "shareCount");
            return (Criteria) this;
        }

        public Criteria andShareCountLessThan(Integer value) {
            addCriterion("share_count <", value, "shareCount");
            return (Criteria) this;
        }

        public Criteria andShareCountLessThanOrEqualTo(Integer value) {
            addCriterion("share_count <=", value, "shareCount");
            return (Criteria) this;
        }

        public Criteria andShareCountIn(List<Integer> values) {
            addCriterion("share_count in", values, "shareCount");
            return (Criteria) this;
        }

        public Criteria andShareCountNotIn(List<Integer> values) {
            addCriterion("share_count not in", values, "shareCount");
            return (Criteria) this;
        }

        public Criteria andShareCountBetween(Integer value1, Integer value2) {
            addCriterion("share_count between", value1, value2, "shareCount");
            return (Criteria) this;
        }

        public Criteria andShareCountNotBetween(Integer value1, Integer value2) {
            addCriterion("share_count not between", value1, value2, "shareCount");
            return (Criteria) this;
        }

        public Criteria andCollectionCountIsNull() {
            addCriterion("collection_count is null");
            return (Criteria) this;
        }

        public Criteria andCollectionCountIsNotNull() {
            addCriterion("collection_count is not null");
            return (Criteria) this;
        }

        public Criteria andCollectionCountEqualTo(Integer value) {
            addCriterion("collection_count =", value, "collectionCount");
            return (Criteria) this;
        }

        public Criteria andCollectionCountNotEqualTo(Integer value) {
            addCriterion("collection_count <>", value, "collectionCount");
            return (Criteria) this;
        }

        public Criteria andCollectionCountGreaterThan(Integer value) {
            addCriterion("collection_count >", value, "collectionCount");
            return (Criteria) this;
        }

        public Criteria andCollectionCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("collection_count >=", value, "collectionCount");
            return (Criteria) this;
        }

        public Criteria andCollectionCountLessThan(Integer value) {
            addCriterion("collection_count <", value, "collectionCount");
            return (Criteria) this;
        }

        public Criteria andCollectionCountLessThanOrEqualTo(Integer value) {
            addCriterion("collection_count <=", value, "collectionCount");
            return (Criteria) this;
        }

        public Criteria andCollectionCountIn(List<Integer> values) {
            addCriterion("collection_count in", values, "collectionCount");
            return (Criteria) this;
        }

        public Criteria andCollectionCountNotIn(List<Integer> values) {
            addCriterion("collection_count not in", values, "collectionCount");
            return (Criteria) this;
        }

        public Criteria andCollectionCountBetween(Integer value1, Integer value2) {
            addCriterion("collection_count between", value1, value2, "collectionCount");
            return (Criteria) this;
        }

        public Criteria andCollectionCountNotBetween(Integer value1, Integer value2) {
            addCriterion("collection_count not between", value1, value2, "collectionCount");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeIsNull() {
            addCriterion("create_employee is null");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeIsNotNull() {
            addCriterion("create_employee is not null");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeEqualTo(Integer value) {
            addCriterion("create_employee =", value, "createEmployee");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeNotEqualTo(Integer value) {
            addCriterion("create_employee <>", value, "createEmployee");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeGreaterThan(Integer value) {
            addCriterion("create_employee >", value, "createEmployee");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeGreaterThanOrEqualTo(Integer value) {
            addCriterion("create_employee >=", value, "createEmployee");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeLessThan(Integer value) {
            addCriterion("create_employee <", value, "createEmployee");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeLessThanOrEqualTo(Integer value) {
            addCriterion("create_employee <=", value, "createEmployee");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeIn(List<Integer> values) {
            addCriterion("create_employee in", values, "createEmployee");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeNotIn(List<Integer> values) {
            addCriterion("create_employee not in", values, "createEmployee");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeBetween(Integer value1, Integer value2) {
            addCriterion("create_employee between", value1, value2, "createEmployee");
            return (Criteria) this;
        }

        public Criteria andCreateEmployeeNotBetween(Integer value1, Integer value2) {
            addCriterion("create_employee not between", value1, value2, "createEmployee");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateEmployeeIsNull() {
            addCriterion("update_employee is null");
            return (Criteria) this;
        }

        public Criteria andUpdateEmployeeIsNotNull() {
            addCriterion("update_employee is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateEmployeeEqualTo(Integer value) {
            addCriterion("update_employee =", value, "updateEmployee");
            return (Criteria) this;
        }

        public Criteria andUpdateEmployeeNotEqualTo(Integer value) {
            addCriterion("update_employee <>", value, "updateEmployee");
            return (Criteria) this;
        }

        public Criteria andUpdateEmployeeGreaterThan(Integer value) {
            addCriterion("update_employee >", value, "updateEmployee");
            return (Criteria) this;
        }

        public Criteria andUpdateEmployeeGreaterThanOrEqualTo(Integer value) {
            addCriterion("update_employee >=", value, "updateEmployee");
            return (Criteria) this;
        }

        public Criteria andUpdateEmployeeLessThan(Integer value) {
            addCriterion("update_employee <", value, "updateEmployee");
            return (Criteria) this;
        }

        public Criteria andUpdateEmployeeLessThanOrEqualTo(Integer value) {
            addCriterion("update_employee <=", value, "updateEmployee");
            return (Criteria) this;
        }

        public Criteria andUpdateEmployeeIn(List<Integer> values) {
            addCriterion("update_employee in", values, "updateEmployee");
            return (Criteria) this;
        }

        public Criteria andUpdateEmployeeNotIn(List<Integer> values) {
            addCriterion("update_employee not in", values, "updateEmployee");
            return (Criteria) this;
        }

        public Criteria andUpdateEmployeeBetween(Integer value1, Integer value2) {
            addCriterion("update_employee between", value1, value2, "updateEmployee");
            return (Criteria) this;
        }

        public Criteria andUpdateEmployeeNotBetween(Integer value1, Integer value2) {
            addCriterion("update_employee not between", value1, value2, "updateEmployee");
            return (Criteria) this;
        }

        public Criteria andPicIsNull() {
            addCriterion("pic is null");
            return (Criteria) this;
        }

        public Criteria andPicIsNotNull() {
            addCriterion("pic is not null");
            return (Criteria) this;
        }

        public Criteria andPicEqualTo(String value) {
            addCriterion("pic =", value, "pic");
            return (Criteria) this;
        }

        public Criteria andPicNotEqualTo(String value) {
            addCriterion("pic <>", value, "pic");
            return (Criteria) this;
        }

        public Criteria andPicGreaterThan(String value) {
            addCriterion("pic >", value, "pic");
            return (Criteria) this;
        }

        public Criteria andPicGreaterThanOrEqualTo(String value) {
            addCriterion("pic >=", value, "pic");
            return (Criteria) this;
        }

        public Criteria andPicLessThan(String value) {
            addCriterion("pic <", value, "pic");
            return (Criteria) this;
        }

        public Criteria andPicLessThanOrEqualTo(String value) {
            addCriterion("pic <=", value, "pic");
            return (Criteria) this;
        }

        public Criteria andPicLike(String value) {
            addCriterion("pic like", value, "pic");
            return (Criteria) this;
        }

        public Criteria andPicNotLike(String value) {
            addCriterion("pic not like", value, "pic");
            return (Criteria) this;
        }

        public Criteria andPicIn(List<String> values) {
            addCriterion("pic in", values, "pic");
            return (Criteria) this;
        }

        public Criteria andPicNotIn(List<String> values) {
            addCriterion("pic not in", values, "pic");
            return (Criteria) this;
        }

        public Criteria andPicBetween(String value1, String value2) {
            addCriterion("pic between", value1, value2, "pic");
            return (Criteria) this;
        }

        public Criteria andPicNotBetween(String value1, String value2) {
            addCriterion("pic not between", value1, value2, "pic");
            return (Criteria) this;
        }

        public Criteria andNumberbookIsNull() {
            addCriterion("numberbook is null");
            return (Criteria) this;
        }

        public Criteria andNumberbookIsNotNull() {
            addCriterion("numberbook is not null");
            return (Criteria) this;
        }

        public Criteria andNumberbookEqualTo(String value) {
            addCriterion("numberbook =", value, "numberbook");
            return (Criteria) this;
        }

        public Criteria andNumberbookNotEqualTo(String value) {
            addCriterion("numberbook <>", value, "numberbook");
            return (Criteria) this;
        }

        public Criteria andNumberbookGreaterThan(String value) {
            addCriterion("numberbook >", value, "numberbook");
            return (Criteria) this;
        }

        public Criteria andNumberbookGreaterThanOrEqualTo(String value) {
            addCriterion("numberbook >=", value, "numberbook");
            return (Criteria) this;
        }

        public Criteria andNumberbookLessThan(String value) {
            addCriterion("numberbook <", value, "numberbook");
            return (Criteria) this;
        }

        public Criteria andNumberbookLessThanOrEqualTo(String value) {
            addCriterion("numberbook <=", value, "numberbook");
            return (Criteria) this;
        }

        public Criteria andNumberbookLike(String value) {
            addCriterion("numberbook like", value, "numberbook");
            return (Criteria) this;
        }

        public Criteria andNumberbookNotLike(String value) {
            addCriterion("numberbook not like", value, "numberbook");
            return (Criteria) this;
        }

        public Criteria andNumberbookIn(List<String> values) {
            addCriterion("numberbook in", values, "numberbook");
            return (Criteria) this;
        }

        public Criteria andNumberbookNotIn(List<String> values) {
            addCriterion("numberbook not in", values, "numberbook");
            return (Criteria) this;
        }

        public Criteria andNumberbookBetween(String value1, String value2) {
            addCriterion("numberbook between", value1, value2, "numberbook");
            return (Criteria) this;
        }

        public Criteria andNumberbookNotBetween(String value1, String value2) {
            addCriterion("numberbook not between", value1, value2, "numberbook");
            return (Criteria) this;
        }

        public Criteria andCertificateIsNull() {
            addCriterion("certificate is null");
            return (Criteria) this;
        }

        public Criteria andCertificateIsNotNull() {
            addCriterion("certificate is not null");
            return (Criteria) this;
        }

        public Criteria andCertificateEqualTo(String value) {
            addCriterion("certificate =", value, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateNotEqualTo(String value) {
            addCriterion("certificate <>", value, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateGreaterThan(String value) {
            addCriterion("certificate >", value, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateGreaterThanOrEqualTo(String value) {
            addCriterion("certificate >=", value, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateLessThan(String value) {
            addCriterion("certificate <", value, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateLessThanOrEqualTo(String value) {
            addCriterion("certificate <=", value, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateLike(String value) {
            addCriterion("certificate like", value, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateNotLike(String value) {
            addCriterion("certificate not like", value, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateIn(List<String> values) {
            addCriterion("certificate in", values, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateNotIn(List<String> values) {
            addCriterion("certificate not in", values, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateBetween(String value1, String value2) {
            addCriterion("certificate between", value1, value2, "certificate");
            return (Criteria) this;
        }

        public Criteria andCertificateNotBetween(String value1, String value2) {
            addCriterion("certificate not between", value1, value2, "certificate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}